package com.doucat.piano.model;

import com.doucat.support.model.BaseModel;
import com.doucat.support.model.data.DataView;

import java.util.ArrayList;
import java.util.List;

/**
 * -----------------------------------------------------------------
 * Copyright (C) 2021-2031, by tonly, All rights reserved.
 * -----------------------------------------------------------------
 * File: KeyModel.java
 * Author: wangfy
 * Create: 2021/7/27 16:20
 */
public class KeyModel extends BaseModel {
    public void getKeys(DataView callback){
        List<KeyBean> keys=new ArrayList<>();
        for(int i=1;i<=88;i++){
            KeyBean keyBean=new KeyBean();
            keyBean.pid=i;
            keys.add(keyBean);
        }
        callback.onData(keys);
    }
}